@import "../../../../assets/styles/common";

.tags-nav {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    overflow: hidden;
    z-index: 1;
    position: relative;
    border-top:  1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    //box-shadow: 10px 0 31px 12px rgba(100, 100, 100, 0.8) inset;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.12), 0 0 3px 0 rgba(0, 0, 0, 0.04);
    

    .close-con {
        @include center;
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 32px;
        background: #fff;
        text-align: center;
        z-index: 10;
    }

    .btn-con {
        position: absolute;
        top: 0px;
        height: 100%;
        background: #fff;
        z-index: 10;
        button {
            padding: 6px 4px;
            line-height: 14px;
            text-align: center;
        }
        &.left-btn {
            left: 0px;
            @include center;
        }
        &.right-btn {
            right: 32px;
            border-right: 1px solid #f0f0f0;
            @include center;
        }
    }

    .scroll-outer {
        position: absolute;
        left: 28px;
        right: 61px;
        top: 0;
        bottom: 0;
        background: #fff;
        //box-shadow: 0px 0 3px 2px rgba(100, 100, 100, 0.1) inset;
        .scroll-body {
            height: "calc(100% - 1px)";
            display: inline-block;
            padding: 1px 4px 0;
            position: absolute;
            overflow: visible;
            white-space: nowrap;
            transition: left 0.3s ease;

            .ivu-tag {
                background: #f7f7f7;
                border-radius: 3px;
                cursor: pointer;
                display: inline-block;
                font-size: 12px;
                line-height: 22px;
                margin: 2px 4px 2px 0;
                opacity: 1;
                overflow: hidden;
                padding: 0 8px;
                vertical-align: middle;
                &.el-tag--primary{
                    border: 1px solid rgba(64, 158, 255, .5);
                }
                .icon {
                    position: absolute;
                    line-height: 33px;
                    font-size: 12px;
                }
                .text{
                    height: 32px;
                    line-height: 30px;
                    margin-left: 20px;
                }
            }
            
        }
    }
}
